<template>
	<view class="myfirends">
		<view class="title">
			您目前已邀请5位好友
		</view>
		<view class="myfirends-box">
			<scroll-view scroll-y="true" style="height: 100%;">
				<view class="u-text-center" v-for="(item,index) in list" :key='index'>
					<image style="width: 60rpx;height: 60rpx;" :src="item.img" mode=""></image>
					<text style="font-size: 16px;font-family: Source Han Sans CN;font-weight: 400;color: #333333;margin-left: 12rpx;">{{item.name}}</text>
				</view>
			</scroll-view>
		</view>
	</view>
</template>

<script>
	export default{
	    data(){
			return{
				list:[{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},{
					img:require('../../static/mine/padaxing.png'),
					name:'小明'
				},]
			}
		}
	}
</script>

<style lang="less" scoped>
	.myfirends {
		padding: 40rpx;

		.title {
			font-size: 32rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			color: #333333;
			opacity: 1;
			margin-bottom: 40rpx;
		}

		.myfirends-box {
			height: 100vh;

			.u-text-center {
				padding: 10rpx;
				width: 100%;
				height: 76rpx;
				background: #FFFFFF;
				opacity: 1;
				border-radius: 38rpx;
				margin-bottom: 40rpx;
				display: flex;
				align-items: center;
			}
		}
	}
</style>
